﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Autenticazione.aspx.cs" Inherits="Autenticazione.Autenticazione" EnableSessionState="True" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href=Stile.css rel=Stylesheet type="text/css"></link>
    <style type="text/css">
        #tblAutenticazione {
            width: 100%;
        }
    </style>
</head>
<body>
    <form id="frmAutenticazione" runat="server" style="height: 100%">
        <div id="dvTop" style="height: 200px; border: 1px" align="center">
            <table width="100%">
                <tr style="height: 50px">
                    <td>&nbsp;</td>
                </tr>
                <tr style="height: 100px">
                    <td align="center">
                        <table>
                            <tr>
                                <td class="lblTitleNotHRef">Autenticazione</td>
                                <td class="lblTitleHRef"><a href="Club.aspx">Club</a></td>
                                <td class="lblTitleHRef"><a href="Coaches.aspx">Allenatori</a></td>
                                <td class="lblTitleHRef"><a href="Atleti.aspx">Atleti</a></td>
                                <td class="lblTitleHRef"><a href="Iscrizioni.aspx">Iscrizioni</a></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr style="height: 50px">
                    <td>&nbsp;</td>
                </tr>
            </table>
        </div>
        <table id="tblAutenticazione" border="0px" width="100%">
            <tr>
                <td align="right"><asp:Label ID="msgLoggedUser" runat="server" CssClass="lblLoggedUser" Text="None"></asp:Label>&nbsp;|&nbsp;<a href="Logout.aspx">Logout</a></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Label ID="msgLogin" runat="server" CssClass="lblInfo" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="lblEMail" CssClass="lblBold" runat="server" Text="E-Mail"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox id="txtEMail" MaxLength="255" width="200px" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:RequiredFieldValidator ID="EMailCustomValidator" ControlToValidate="txtEMail" runat="server" 
                                    Display="Dynamic" CssClass="err" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegExprEMailValidator" runat="server" CssClass="err" ErrorMessage="Email non valida"
                                    ControlToValidate="txtEmail" Display="Dynamic"
                                    ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$">
                                    </asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblPwd" CssClass="lblBold" runat="server" Text="Password"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPwd" MaxLength="50" runat="server" Width="200px" TextMode="Password"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:RequiredFieldValidator ID="PwdCustomValidator" ControlToValidate="txtPwd" runat="server" 
                                    Display="Dynamic" CssClass="err"  ErrorMessage="(*)"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center"><asp:Button runat="server" Text="Accedi" 
                        ID="btnAccedi" CssClass="btn" onclick="btnAccedi_Click"  /></td>
            </tr>
            <tr>
                <td align="center">oppure</td>
            </tr>
            <tr>
                <td align="center"><asp:Button runat="server" Text="Crea nuovo account" 
                        CssClass="btn" ID="btnNuovoAccount" onclick="btnNuovoAccount_Click"  /></td>
            </tr>
            <tr>
                <td align="center"><asp:label runat="server" Text="" 
                        CssClass="err" ID="lblError" /></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center" class="lblInfo">
                    <b>PER CHI &Egrave; ISCRITTO IN WAPSAC ED ESIBISCE IL PASSAPORTO ALLA GARA PAGA PER 1 GARA EURO 10 PER 2 GARE EURO 15</b>
                </td>
            </tr>
            <tr>
                <td align="center" class="lblInfo">
                    <b>PER CHI &Egrave; DI ALTRE FEDERAZIONI O ENTI D PROMOZIONE PAGA PER 1 GARA EURO 13 E PER 2 GARE EURO 20</b>
                </td>
            </tr>
            <tr>
                <td align="center" class="lblInfo">
                    <b>PER QUALSIASI PROBLEMA NELLA REGISTRAZIONE CONTATTARE <U>3458418001</U> (DAVIDE)</b>
                </td>
                </tr>
                                <tr>
                <td align="center" class="lblInfo">
                </td></tr>
                <tr>
                <td align="center" class="lblInfo">
                    <b>In caso di dubbi riguardo i passi da seguire per la registrazione</b>
                </td>
            </tr>
                <tr>
                <td align="center" class="lblInfo">
                    <b> è possibile seguire la videoguida premendo su</b>
                </td>
            </tr>
            è
                <tr>
                <td align="center" class="lblInfo">
                    <b> 
                    <a  target="_blank" href="http://www.wapsacitalia.it/iscrizione/iscrizione.html">VIDEOGUIDA</a></b>
                </td>
            </tr>
        </table>
        <div id="dvBottom" style="height: 200px; border: 1px" align="center"></div>
    </form>
</body>
</html>
